//=============================================================================
/**
 * @file	arceus_gmk_init.c
 * @brief	シント遺跡仕掛け初期化
 * @author	Nozomu Saito
 *
 * モジュール名：ArceusGmk_
 *
 */
//=============================================================================
#include "common.h"
#include "fieldmap_work.h"
#include "include/savedata/gimmickwork.h"

#include "field_gimmick_def.h"

#include "arceus_gmk_local.h"
#include "arceus_gmk_init.h"

//---------------------------------------------------------------------------
/**
 * @brief	初期化
 *
 * @param	fsys	フィールドシステムポインタ
 *
 * @return	none
 */
//---------------------------------------------------------------------------
void ArceusGmk_Init(FIELDSYS_WORK *fsys)
{
	GIMMICKWORK *work;
	ARCEUS_GMK_WORK *a_gmk_work;
	work = SaveData_GetGimmickWork(GameSystem_GetSaveData(fsys));
	GIMMICKWORK_Assign(work, FLD_GIMMICK_ARCEUS_GMK);

	a_gmk_work = (ARCEUS_GMK_WORK*)GIMMICKWORK_Get(work, FLD_GIMMICK_ARCEUS_GMK);
	a_gmk_work->LightPoint = 0;
}
